<template>
  <div class="app-container">
    <el-tabs v-model="currentTabName" @tab-click="handleClick">
      <el-tab-pane label="产出列表" name="List">
        <List v-if="currentTabName === 'List'" />
      </el-tab-pane>
      <el-tab-pane label="产出排行" name="Rank">
        <Rank v-if="currentTabName === 'Rank'" />
      </el-tab-pane>
      <el-tab-pane label="玩家产出" name="Actor">
        <Actor v-if="currentTabName === 'Actor'" />
      </el-tab-pane>
      <el-tab-pane label="道具统计配置" name="ItemConfig">
        <itemConfig v-if="currentTabName === 'ItemConfig'" />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>
<script>
import List from './components/productionList'
import Rank from './components/productionRank'
import Actor from './components/productionActor'
import ItemConfig from './components/itemConfig'
export default {
  name: 'Production',
  components: { List, Rank, ItemConfig, Actor },
  data() {
    return {
      currentTabName: 'List'
    }
  },
  methods: {
    handleClick() {
    }
  }
}
</script>
